using System;
using System.Runtime.Serialization;

namespace Domain.Dummies.Dtos
{
    [DataContract]
    public class BookDto : IEntityDto
    {
        [DataMember]
        public Guid Id { get; set; }

        [DataMember]
        public string Author { get; set; }

        [DataMember]
        public string Title { get; set; }

        [DataMember]
        public int Year { get; set; }

        [DataMember]
        public int PagesCount { get; set; }        
    }
}